<template>
  <div class="icon-group">
    <img :src="img" alt="tu">
    <div class="title">{{ title }}</div>
    <div :style="{color: textColor}" class="dataBox">{{ data }}</div>
  </div>
</template>

<script setup>
defineProps({
  img: {
    type: String,
    default: ""
  },
  title: {
    type: String,
    default: ""
  },
  data: {
    type: String,
    default: ""
  },
  textColor: {
    type: String,
    default: ""
  },
});

</script>

<style lang="less" scoped>
@import "./index.less";
</style>
